package com.i2863.watchdog.wangsu;

/**
 * @author xuweiwei
 * @date 2019/4/23
 */
public class MatocloudSmsException extends  RuntimeException {
    private ErrorReturnCode code;
    public MatocloudSmsException(ErrorReturnCode code) {
        this.code=code;
    }

    public MatocloudSmsException(ErrorReturnCode code,String message) {
        super(message);
        this.code=code;
    }



    public MatocloudSmsException(ErrorReturnCode code, Throwable cause) {
        super(cause);
        this.code=code;

    }

    public ErrorReturnCode getErrorCode() {
        return code;
    }
}
